package com.jt.service;

import com.jt.pojo.Item;
import com.jt.pojo.ItemDesc;
import com.jt.vo.EasyUITable;

public interface ItemService {
	EasyUITable findItemByPage(Integer page,Integer rows);//page为当前页，row为每页显示记录数，注意与EasyUITable类中的区别

	void saveItem(Item item, ItemDesc itemDesc);

	void updateItem(Item item, ItemDesc itemDesc);

	void updateStatus(Long[] ids, int status);

	void deleteItem(Long[] ids);

	ItemDesc findItemDescById(Long itemId);

	Item findItemById(Long itemId);

}
